package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户关联排行榜对象 user_leaderboard
 * 
 * @author ruoyi
 * @date 2022-05-28
 */
public class UserLeaderboard extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 排行榜类型id */
    @Excel(name = "排行榜类型id")
    private Long leaderboardTypeId;

    /** 奖励积分 */
    @Excel(name = "奖励积分")
    private Long award;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setLeaderboardTypeId(Long leaderboardTypeId) 
    {
        this.leaderboardTypeId = leaderboardTypeId;
    }

    public Long getLeaderboardTypeId() 
    {
        return leaderboardTypeId;
    }
    public void setAward(Long award) 
    {
        this.award = award;
    }

    public Long getAward() 
    {
        return award;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("leaderboardTypeId", getLeaderboardTypeId())
            .append("award", getAward())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
